using UnityEngine;
using MinesweeperPlus.Scripts.Configs;

namespace MinesweeperPlus.Scripts.Abstractions.Interfaces
{
    public interface ILevel
    {
        LevelConfig Config { get; }

        int NumberOfNonMineCells { get; }

        void Create();
        void Clear();
        void Reset();

        void SwitchFlagInWorldPoint(Vector2 worldPoint);
        void OpenCellInWorldPoint(Vector2 worldPoint);
        
        void OpenCellsWithMine();
        void OpenRandomNonMinedCell();
    }
}
